package cn.zd.demo1;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;

public class MyApplicationNextActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_myapplicationnext);
        Toast.makeText(this,this.getClass().getName(),Toast.LENGTH_LONG).show();
        TextView tv_0 = findViewById(R.id.tv_0);
        TextView tv_1 = findViewById(R.id.tv_1);
        tv_1.setText(MyApplication.getInstance().dataMap.get(MyApplication.TEST_KEY).toString());
        tv_0.setText("应用启动时间:"+MyApplication.getInstance().dataMap.get("start"));

    }
}